3.35 \(\int \frac{(a+b x) (a c-b c x)^5}{x^5} \, dx\)

Optimal. Leaf size=80 \[ -\frac{a^6 c^5}{4 x^4}+\frac{4 a^5 b c^5}{3 x^3}-\frac{5 a^4 b^2 c^5}{2 x^2}-5 a^2 b^4 c^5 \log (x)+4 a b^5 c^5 x-\frac{1}{2} b^6 c^5 x^2 \]

[Out]

-(a^6*c^5)/(4*x^4) + (4*a^5*b*c^5)/(3*x^3) - (5*a^4*b^2*c^5)/(2*x^2) + 4*a*b^5*c
^5*x - (b^6*c^5*x^2)/2 - 5*a^2*b^4*c^5*Log[x]

_______________________________________________________________________________________

Rubi [A]  time = 0.100944, antiderivative size = 80, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 1, integrand size = 20, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.05 \[ -\frac{a^6 c^5}{4 x^4}+\frac{4 a^5 b c^5}{3 x^3}-\frac{5 a^4 b^2 c^5}{2 x^2}-5 a^2 b^4 c^5 \log (x)+4 a b^5 c^5 x-\frac{1}{2} b^6 c^5 x^2 \]

Antiderivative was successfully verified.

[In]  Int[((a + b*x)*(a*c - b*c*x)^5)/x^5,x]

[Out]

-(a^6*c^5)/(4*x^4) + (4*a^5*b*c^5)/(3*x^3) - (5*a^4*b^2*c^5)/(2*x^2) + 4*a*b^5*c
^5*x - (b^6*c^5*x^2)/2 - 5*a^2*b^4*c^5*Log[x]

_______________________________________________________________________________________

Rubi in Sympy [F]  time = 0., size = 0, normalized size = 0. \[ - \frac{a^{6} c^{5}}{4 x^{4}} + \frac{4 a^{5} b c^{5}}{3 x^{3}} - \frac{5 a^{4} b^{2} c^{5}}{2 x^{2}} - 5 a^{2} b^{4} c^{5} \log{\left (x \right )} + 4 a b^{5} c^{5} x - b^{6} c^{5} \int x\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  rubi_integrate((b*x+a)*(-b*c*x+a*c)**5/x**5,x)

[Out]

-a**6*c**5/(4*x**4) + 4*a**5*b*c**5/(3*x**3) - 5*a**4*b**2*c**5/(2*x**2) - 5*a**
2*b**4*c**5*log(x) + 4*a*b**5*c**5*x - b**6*c**5*Integral(x, x)

_______________________________________________________________________________________

Mathematica [A]  time = 0.01125, size = 66, normalized size = 0.82 \[ c^5 \left (-\frac{a^6}{4 x^4}+\frac{4 a^5 b}{3 x^3}-\frac{5 a^4 b^2}{2 x^2}-5 a^2 b^4 \log (x)+4 a b^5 x-\frac{b^6 x^2}{2}\right ) \]

Antiderivative was successfully verified.

[In]  Integrate[((a + b*x)*(a*c - b*c*x)^5)/x^5,x]

[Out]

c^5*(-a^6/(4*x^4) + (4*a^5*b)/(3*x^3) - (5*a^4*b^2)/(2*x^2) + 4*a*b^5*x - (b^6*x
^2)/2 - 5*a^2*b^4*Log[x])

_______________________________________________________________________________________

Maple [A]  time = 0.01, size = 73, normalized size = 0.9 \[ -{\frac{{a}^{6}{c}^{5}}{4\,{x}^{4}}}+{\frac{4\,{a}^{5}b{c}^{5}}{3\,{x}^{3}}}-{\frac{5\,{a}^{4}{b}^{2}{c}^{5}}{2\,{x}^{2}}}+4\,a{b}^{5}{c}^{5}x-{\frac{{b}^{6}{c}^{5}{x}^{2}}{2}}-5\,{a}^{2}{b}^{4}{c}^{5}\ln \left ( x \right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  int((b*x+a)*(-b*c*x+a*c)^5/x^5,x)

[Out]

-1/4*a^6*c^5/x^4+4/3*a^5*b*c^5/x^3-5/2*a^4*b^2*c^5/x^2+4*a*b^5*c^5*x-1/2*b^6*c^5
*x^2-5*a^2*b^4*c^5*ln(x)

_______________________________________________________________________________________

Maxima [A]  time = 1.34142, size = 99, normalized size = 1.24 \[ -\frac{1}{2} \, b^{6} c^{5} x^{2} + 4 \, a b^{5} c^{5} x - 5 \, a^{2} b^{4} c^{5} \log \left (x\right ) - \frac{30 \, a^{4} b^{2} c^{5} x^{2} - 16 \, a^{5} b c^{5} x + 3 \, a^{6} c^{5}}{12 \, x^{4}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(-(b*c*x - a*c)^5*(b*x + a)/x^5,x, algorithm="maxima")

[Out]

-1/2*b^6*c^5*x^2 + 4*a*b^5*c^5*x - 5*a^2*b^4*c^5*log(x) - 1/12*(30*a^4*b^2*c^5*x
^2 - 16*a^5*b*c^5*x + 3*a^6*c^5)/x^4

_______________________________________________________________________________________

Fricas [A]  time = 0.204316, size = 104, normalized size = 1.3 \[ -\frac{6 \, b^{6} c^{5} x^{6} - 48 \, a b^{5} c^{5} x^{5} + 60 \, a^{2} b^{4} c^{5} x^{4} \log \left (x\right ) + 30 \, a^{4} b^{2} c^{5} x^{2} - 16 \, a^{5} b c^{5} x + 3 \, a^{6} c^{5}}{12 \, x^{4}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(-(b*c*x - a*c)^5*(b*x + a)/x^5,x, algorithm="fricas")

[Out]

-1/12*(6*b^6*c^5*x^6 - 48*a*b^5*c^5*x^5 + 60*a^2*b^4*c^5*x^4*log(x) + 30*a^4*b^2
*c^5*x^2 - 16*a^5*b*c^5*x + 3*a^6*c^5)/x^4

_______________________________________________________________________________________

Sympy [A]  time = 1.91437, size = 78, normalized size = 0.98 \[ - 5 a^{2} b^{4} c^{5} \log{\left (x \right )} + 4 a b^{5} c^{5} x - \frac{b^{6} c^{5} x^{2}}{2} - \frac{3 a^{6} c^{5} - 16 a^{5} b c^{5} x + 30 a^{4} b^{2} c^{5} x^{2}}{12 x^{4}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((b*x+a)*(-b*c*x+a*c)**5/x**5,x)

[Out]

-5*a**2*b**4*c**5*log(x) + 4*a*b**5*c**5*x - b**6*c**5*x**2/2 - (3*a**6*c**5 - 1
6*a**5*b*c**5*x + 30*a**4*b**2*c**5*x**2)/(12*x**4)

_______________________________________________________________________________________

GIAC/XCAS [A]  time = 0.243966, size = 100, normalized size = 1.25 \[ -\frac{1}{2} \, b^{6} c^{5} x^{2} + 4 \, a b^{5} c^{5} x - 5 \, a^{2} b^{4} c^{5}{\rm ln}\left ({\left | x \right |}\right ) - \frac{30 \, a^{4} b^{2} c^{5} x^{2} - 16 \, a^{5} b c^{5} x + 3 \, a^{6} c^{5}}{12 \, x^{4}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(-(b*c*x - a*c)^5*(b*x + a)/x^5,x, algorithm="giac")

[Out]

-1/2*b^6*c^5*x^2 + 4*a*b^5*c^5*x - 5*a^2*b^4*c^5*ln(abs(x)) - 1/12*(30*a^4*b^2*c
^5*x^2 - 16*a^5*b*c^5*x + 3*a^6*c^5)/x^4